import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ELementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import axios from "axios";
axios.defaults.baseURL=process.env.VUE_APP_BASE_URL
Vue.use(ELementUI)
Vue.config.productionTip = false
import JsonViewer from 'vue-json-viewer'
Vue.use(JsonViewer)
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
import moment from 'moment'
Vue.filter('dateFormat',(value,pattern = 'YYYY-MM-DD HH:mm:ss') => {  //需要什么格式，自行修改
  return moment(value).format(pattern)
})



